import request from "@/utils/request.js";
import { gatewayPrefix } from "./config.js";

/**
 * 根据关键字获取字典
 * @param params
 * @returns {AxiosPromise}
 */
export function getKeyMap(params = []) {
  return request({
    url: gatewayPrefix + "/base/basicDictionary/get",
    method: "post",
    data: { key: params }
  });
}
